//
//  DingDanViewController.m
//  TongChe
//
//  Created by cwMac on 16/1/20.
//  Copyright © 2016年 cwMac. All rights reserved.
//

#import "DingDanViewController.h"

@interface DingDanViewController ()
@property(nonatomic,weak)IBOutlet UIButton *btn;
@property(nonatomic,weak)IBOutlet UIButton *xiaDanBtn;
@end

@implementation DingDanViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    [_btn addTarget:self action:@selector(click) forControlEvents:UIControlEventTouchUpInside];
}
-(void)click
{
    [self dismissViewControllerAnimated:YES completion:nil];
}
- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
